home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
wais
/
x
/
Imakefile
< prev
next >
Wrap
Makefile
|
1995-05-09
|
1KB
|
81 lines
# @(#) Imakefile 12.1 95/05/09
#
# Imakefile for XWAIS
# Author: Jonny Goldman
#
# S000 18 Sep 1993 rr@sco.com
# placed under SCCS and turned into an Imakefile
#
VERSION = 0.85
SRCDIR = ../x
SUPDIR = ../ir
UIDIR = ../ui
WLIBDIR = ../lib
/*
For a smaller client, but with no local search,
use this line this instead of the latter:
IR_LIB = ../bin/client.a
*/
IR_LIB = $(WLIBDIR)/libinv.a
PROTOCOL_LIB = $(WLIBDIR)/libwais.a
LIBFTW = $(WLIBDIR)/libftw.a
UI_LIB = $(IR_LIB) $(PROTOCOL_LIB) $(LIBFTW)
LOCAL_LIBRARIES = $(UI_LIB) $(XAWLIB) $(XTOOLLIB) $(XMULIB) $(XLIB)
INCLUDES = -I$(SRCDIR) -I$(SUPDIR) -I$(UIDIR)
TOBJ = xwais.o \
display.o \
tcommands.o \
scommands.o
QOBJ = xwaisq.o \
qdisplay.o \
text.o \
qcommands.o \
filereq.o \
scommands.o \
../ui/question.o \
../ui/document.o \
../ui/wais-ui.o
OBJS = util.o \
../ui/source.o
XWAIS_OBJS = $(TOBJ) $(OBJS)
XWAISQ_OBJS = $(QOBJ) $(OBJS)
SYSLIBS = -lm -lc
XWAIS = xwais
XWAISQ = xwaisq
PROGRAMS = $(XWAIS) $(XWAISQ)
AllTarget($(PROGRAMS))
NormalProgramTarget($(XWAIS),$(XWAIS_OBJS),$(UI_LIB),$(LOCAL_LIBRARIES),$(SYSLIBS))
NormalProgramTarget($(XWAISQ),$(XWAISQ_OBJS),$(UI_LIB),$(LOCAL_LIBRARIES),$(SYSLIBS))
InstallAppDefaults(Xwais)
InstallProgram($(XWAIS), $(BINDIR))
InstallProgram($(XWAISQ), $(BINDIR))
$(IR_LIB):
(cd ../ir;make ${IR_LIB})
$(PROTOCOL_LIB):
(cd ../ir;make ${PROTOCOL_LIB})
clean::
$(RM) Xwais Xwais.ad
DependTarget()